package cn.iocoder.yudao.module.cmt.controller.admin.person.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 人员信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PersonInfoPageReqVO extends PageParam {

    @Schema(description = "社区ID", example = "18640")
    private Long communityId;

    @Schema(description = "关联会员ID(可为空，表示非会员)", example = "23019")
    private Long userId;

    @Schema(description = "真实姓名", example = "张三")
    private String realName;

    @Schema(description = "身份证号", example = "320106199001011234")
    private String idCard;

    @Schema(description = "手机号", example = "13800138000")
    private String phone;

    @Schema(description = "人员类型：1普通居民 2志愿者 3师资 4社区干部", example = "2")
    private Integer personType;

    @Schema(description = "志愿者等级：0非志愿者 1一星 2二星 3三星 4四星 5五星", example = "1")
    private Integer volunteerLevel;

    @Schema(description = "状态：0停用 1启用", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
